<%@ page language="java" import="java.util.*,java.util.List,com.gc.rss.*,com.sun.syndication.feed.synd.SyndEntry,com.sun.syndication.feed.synd.SyndContent;" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <body>
    RSS. <br>

    <%  
    String a="http://blog.sina.com.cn/rss/yilinzazhi.xml";
    AAA C=new AAA();
     List<SyndEntry> syndEntries =C.readRss(a);%>
     

     <%
    for (SyndEntry syndEntry : syndEntries) {
	String entryTitle = syndEntry.getTitle();
	String entryLink = syndEntry.getLink();
	SyndContent entryDescription = syndEntry.getDescription();
	String content = entryDescription.getValue();
	%> 
标题： <a href="<%=entryLink %>"><%=entryTitle %></a>  <BR/>连接:<%=entryLink %><BR/>内容<%=content %>
	<% }%>

  </body>
</html>
